RULES = {}
RULES.types = {};
RULES.registerType = function(typeId, func) {
	this.types[typeId] = func;
}

ME = {};

ME.run = function(inp) {
    
	  var async = {};
	  async.onComplete = function(out) { return out; };
	  
	  this.fn = function() {
	      async.onComplete(inp);
	  };
	  
	  setTimeout("ME.fn()", 1000);

	  return async;
}
		

